<!--
     在需要刷新页面时调用
     this.$router.replace({ path: '/refresh', query: { t: Date.now() } })
-->
<script>
export default {
  beforeRouteEnter (to, from, next) {
    next(vm => {
      vm.$router.replace(from.path)
    })
  },
  render (createElement) {
    return createElement('')
  }
}
</script>
